import axios from '@/utils/axios'

const api = {
  search: {
    sugrec: (params) => axios.get('/api/search/sugrec', { params })
  },
  app: {
    type: () => axios.get('/api/app/type'),
    websiteInfo: params => axios.get('/api/website/info', { params }),
    create: params => axios.post('/api/create/website', params),
    list: params => axios.get('/api/website/list', { params })
  }
}
export default api
